package com.sky.vo;

import com.sky.Entity.SetMealDishs;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("新增套餐数据模型")
public class SetmealVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(name = "主键",required = false)
    private Long id;
    @ApiModelProperty(name = "分类id",required = true)
    private Long categoryId;
    @ApiModelProperty(name = "套餐名称",required = true)
    private String name;
    @ApiModelProperty(name = "套餐价格",required = true)
    private Double price;
    @ApiModelProperty(name = "套餐状态",required = true)
    private Integer status;
    private String description;
    @ApiModelProperty(name = "套餐图片",required = true)
    private String image;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createUser;
    private Long updateUser;
    @ApiModelProperty(name = "套餐包含的菜品",required = true)
    private List<SetMealDishs> setmealDishes;
}
